tosca_definitions_version: tosca_simple_yaml_1_2

description: Sample VNF

imports:
  - etsi_nfv_sol001_common_types.yaml
  - etsi_nfv_sol001_vnfd_types.yaml
  - vnfd_types.yaml
  - vnfd_df.yaml

topology_template:
  inputs:
    selected_flavour:
      type: string
      description: VNF deployment flavour selected by the consumer. It is provided in the API

  node_templates:
    VNF:
      type: {{ VNF.name }}
      properties:
        flavour_id: { get_input: selected_flavour }
        descriptor_id: {{ VNF.VNFD }}
        provider: '{{ VNF.provider }}'
        product_name: '{{ VNF.product }}'
        software_version: '{{ VNF.software_version }}'
        descriptor_version: '{{ VNF.version }}'
        vnfm_info:
          - Tacker